// src/utils/auth.js
const AUTH_TOKEN_KEY = "AUTH_TOKEN";

export function getToken() {
  return sessionStorage.getItem(AUTH_TOKEN_KEY);
}

export function setToken(token) {
  sessionStorage.setItem(AUTH_TOKEN_KEY, token);
}

export function removeToken() {
  sessionStorage.removeItem(AUTH_TOKEN_KEY);
}
